//
//  MyJobManageTableViewCell.h
//  CYWFrame
//
//  Created by 于顺燊 on 2018/9/21.
//  Copyright © 2018年 Macx. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MyJobManageCellDelegate <NSObject>

- (void)editJob:(UIButton *)button :(NSString *)positionId;
- (void)previewJob:(UIButton *)button :(NSString *)positionId;
- (void)deleteJob:(UIButton *)button :(NSString *)positionId;
- (void)setDefaultJob:(UIButton *)button :(NSString *)positionId;
- (void)postJob:(UIButton *)button :(NSString *)positionId;

@end

@interface MyJobManageTableViewCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UILabel *title;
@property (weak, nonatomic) IBOutlet UILabel *salary;
@property (weak, nonatomic) IBOutlet UIButton *defaultBtn;
@property (weak, nonatomic) IBOutlet UIButton *previewBtn;
@property (weak, nonatomic) IBOutlet UIButton *editBtn;
@property (weak, nonatomic) IBOutlet UIButton *deleteBtn;
@property (weak, nonatomic) IBOutlet UIButton *postJobBtn;
@property (strong, nonatomic) id<MyJobManageCellDelegate> delegate;
@property (strong, nonatomic) NSString *positionId;
@end
